package cn.stylefeng.guns.modular.xlzdb.pojo.request;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.util.Date;
/**
 * 线路站点表封装类
 *
 * @author zhu
 * @date 2021/10/06 12:52
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class XlzdbRequest extends BaseRequest {

    /**
     * 编号
     */
	@NotNull(message = "编号不能为空", groups = {edit.class, delete.class})
    private Long id;
	
    /**
     * 里程
     */
	@NotNull(message = "里程不能为空", groups = {add.class, edit.class})
    private java.math.BigDecimal lc;
	
    /**
     * 普通票价
     */
	@NotNull(message = "普通票价不能为空", groups = {add.class, edit.class})
    private java.math.BigDecimal ptpj;
	
    /**
     * 中档票价
     */
	@NotNull(message = "中档票价不能为空", groups = {add.class, edit.class})
    private java.math.BigDecimal zdpj;
	
    /**
     * 豪华票价
     */
	@NotNull(message = "豪华票价不能为空", groups = {add.class, edit.class})
    private java.math.BigDecimal hhpj;
	
    /**
     * 特别票价
     */
	@NotNull(message = "特别票价不能为空", groups = {add.class, edit.class})
    private java.math.BigDecimal tbpj;
	
    /**
     * 线路编号
     */
	@NotBlank(message = "线路编号不能为空", groups = {add.class, edit.class})
    private String xlbXlbh;
	
    /**
     * 站点编号
     */
	@NotBlank(message = "站点编号不能为空", groups = {add.class, edit.class})
    private String zdbZdbh;
	
    /**
     * 线路站点状态
     */
	@NotBlank(message = "线路站点状态不能为空", groups = {add.class, edit.class})
    private String xlzdzt;
	
    /**
     * 创建时间
     */
	private String createTime;
    /**
     * 创建人
     */
    private Long createUser;
	
    /**
     * 更新时间
     */
	private String updateTime;
    /**
     * 更新人
     */
    private Long updateUser;
	
}